package com.huika.renrench.control.common.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

import com.huika.renrench.R;
import com.huika.renrench.view.TitleBarHelper;

public class AucceedActivity extends Activity{
	
	public final static String SUCCEEDSTR = "succeedStr";
	public final static String TITESTR = "titeStr";
	
	private TextView textView_succeed;
	
	private String succeedStr = "";
	private int titeStr = 0;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.succeed_activity);
		
		textView_succeed = (TextView) findViewById(R.id.textView_succeed);
		succeedStr = getIntent().getExtras().getString(SUCCEEDSTR);
		titeStr = getIntent().getExtras().getInt(TITESTR);
		
		new TitleBarHelper(this, R.string.left_back, -1, titeStr);
		
		textView_succeed.setText(succeedStr);
	}

}
